import request from '@/utils/request';

/**
 * 业务报表查询
 * @param {*} params 
 */
export async function getPerformanceDetailsReportList(params) {
  return request('/reportForms/getPerformanceDetailsReportList', {
    method: 'POST',
    data: { ...params }
  });
}

/**
 * 导出业务报表列表
 * @param {*} params 
 */
export async function exportPerformanceDetailsReportList(params) {
  return request('/reportForms/exportPerformanceDetailsReportList', {
    method: 'POST',
    data: { ...params }
  });
}

/**
 * 根据用户信息查询场馆List
 * @param {*} params 
 */
export async function fetchShopList(params) {
  return request('/venueInfo/queryVenueInfoListByUserId', {
    method: 'POST',
    requestType:'form',
    data: { ...params },
  });
}


/**
 * 查询销售数据
 * @param {*} params 
 */
export async function queryCoachAndSaleList(params) {
  return request('/sys/user/queryCoachAndSale', {
    method: 'POST',
    data: {
      ...params
    },
  });
}


/**
 * 授课月报表
 * @param {*} params 
 * @returns 
 */
 export async function queryLecturesMonthlyReport(params) {
  return request('/reportFormsV2/queryLecturesMonthlyReport', {
    method: 'POST',
    data: { ...params }
  });
}
